package com.egao.common.module.company.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 职位信息列表VO
 * @author dl
 */
@Data
public class PositionFormVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    private Integer id;

    @ApiModelProperty("公司编号")
    private Integer companyId;

    @ApiModelProperty("职位名称")
    @NotBlank(message = "职位名称不为空")
    private String name;

    @ApiModelProperty("职位类型（全职、兼职、实习）")
    @NotBlank(message = "职位类型不为空")
    private String type;

    @ApiModelProperty("学历（博士、硕士、本科）")
    @NotBlank(message = "职位学历不为空")
    private String degree;

    @ApiModelProperty("职位人数")
    @NotBlank(message = "职位人数不为空")
    private String number;

    @ApiModelProperty("工作地点")
    @NotBlank(message = "工作地点不为空")
    private String address;

    @ApiModelProperty("本校专业")
    @NotBlank(message = "本校专业不为空")
    private String major;

    @ApiModelProperty("职位月薪")
    @NotBlank(message = "请选择职位月薪")
    private String salary;

    @ApiModelProperty("薪资类型  0自定义 1面议")
    // @NotBlank(message = "职位月薪不为空")
    private String salaryType;

    @ApiModelProperty("最低薪资")
    private Integer salaryMin;

    @ApiModelProperty("最高薪资")
    private Integer salaryMax;

    @ApiModelProperty("职位职责")
    private String duty;

    @ApiModelProperty("职位状态 0：正常 1：失效")
    private String state;

    @ApiModelProperty("发布人")
    private Integer createBy;
}
